<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .box{
      width: 50%;
      height: 50%;
      background-color: aquamarine;
    }
    .boxs{
      width: 50vw;
      height: 50vh;
      background-color: rgb(29, 197, 43);
    }

    body{
      width: 100px;
      height: 100px;;
    }
  </style>
</head>
<body >

  <div class="box">内容</div>
  <div class = 'boxs'>内容二</div>
</body>
</html>